<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>行业翻译首页</title>
</head>
<body>
<a href="dic/list.html" target="_blank">更新词库</a>
<center>
<form id="translateForm" method="post" action="translate.html">
	<p>原文
	<textarea name="content" rows="6" cols="100">${content }</textarea>
	</p>
	<p>
	<select name="language">
		<option <c:if test="${language eq 'en' }">selected</c:if> value="en">英文</option>
		<option <c:if test="${language eq 'jp' }">selected</c:if> value="jp">日文</option>
	</select>
	<input value=" 翻 译 " type="submit" />
	</p>
	<p>译文
	<textarea name="translate_content" rows="6" cols="100">${translate_content }</textarea>
	</p>
</form>
</center>
</body>
</html>